package com.cool.service.example;

import com.cool.model.common.ServerResponse;

import javax.servlet.http.HttpServletRequest;

/**
 * Title: TemplateServcie
 * Description: 通用的模板服务层
 * @author yls
 * @created 2018/11/30 14:31
 */

public interface TemplateServcie {
    ServerResponse detail(Long id);

    ServerResponse list();

    ServerResponse pageList(Integer pageNumber, Integer pageSize, HttpServletRequest request);

    ServerResponse save(AdminDictionary adminDictionary, HttpServletRequest request);

    ServerResponse update(AdminDictionary adminDictionary, HttpServletRequest request);

    ServerResponse deleteById(Long id);
}
